<?php


namespace catchAdmin\smstag\request;


use catchAdmin\smstag\model\SmsTag;
use catcher\base\CatchRequest;
use think\Validate;

class SmsTagRequest extends CatchRequest
{
    protected function rules(): array
    {

        // TODO: Implement rules() method.
        return [
            'title|标签名称' => 'require|unique:sms_tag,title^sms_topic_id^deleted_at',
            'mapping_field|映射字段' => 'require|unique:sms_tag,mapping_field^sms_topic_id^deleted_at',
        ];
    }

    protected function message(): array
    {
        // TODO: Implement message() method.
        return [];

    }

}